<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>瀚易特 | 人像合成演示</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="admin/plugins/fontawesome-free/css/all.min.css">
    <link rel="stylesheet" href="css/ionicons/2.0.1/ionicons.min.css">
    <link rel="stylesheet" href="admin/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
    <link rel="stylesheet" href="admin/plugins/tipped/css/tipped.css">
    <link rel="stylesheet" href="admin/plugins/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css">
    <link rel="stylesheet" href="css/tippy/tippy.css">
    <link rel="stylesheet" href="css/tippy/themes/light-border.css">
    <link rel="stylesheet" href="css/tippy/themes/light.css">
    <link rel="stylesheet" href="css/tippy/themes/translucent.css">
    <link rel="stylesheet" href="admin/plugins/jquery-realperson/jquery.realperson.css">
    <link rel="stylesheet" href="admin/css/adminlte.min.css">
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body>
<div class="row">
    <div class="col-lg-2"></div>
    <div class="col-lg-8 col-sm-12">
        <div class="register-logo">
            <a href="/"><b class="mr-2">瀚易特</b>人像合成演示</a>
        </div>

        <div class="card card-info card-tabs">
            <div class="card-body">
                <div class="row mb-2">
                    <button id="select_bg_btn"class="btn btn-primary">选择背景图片</button>
                    <div id="select_bg_spin" class="fa-2x">
                        <i class="fas fa-spinner fa-pulse text-gray ml-2"></i>
                    </div>
                </div>
                <div class="row mb-2">
                    <img class="img-responsive" id="bg_image" src="" style="width: 300px;">
                </div>

                <div class="row mb-2">
                    <button id="select_portrait_btn" class="btn btn-primary">选择含人像的图片</button>
                    <div id="select_portrait_spin" class="fa-2x">
                        <i class="fas fa-spinner fa-pulse text-gray ml-2"></i>
                    </div>
                </div>
                <div class="row">
                    <img src="" id="portrait_image" style="width: 300px;">
                </div>
            </div>
            <div class="card-footer">
                <div class="row mb-2">
                    <button id="construct-btn" class="btn btn-success" onclick="onSynthesisClick();">合成</button>
                    <div id="construct_spin" class="fa-2x">
                        <i class="fas fa-spinner fa-pulse text-gray ml-2"></i>
                    </div>
                </div>
            </div>
        </div>
        <div style="position: relative; " class="mb-5">
            <img id="synthesis_fg" src="" style="position: absolute; max-width: 800px;"/>
            <img id="synthesis_bg" src="" style="max-width: 800px;"/>
        </div>
    </div>
    <div class="col-lg-2"></div>
</div>
<script src="admin/plugins/jquery/jquery.min.js"></script>
<script src="admin/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="admin/plugins/tipped/js/tipped.min.js"></script>
<script src="plugin/popper.min.js"></script>
<script src="plugin/tippy.js"></script>
<script src="admin/plugins/jquery-realperson/jquery.plugin.js"></script>
<script src="admin/plugins/jquery-realperson/jquery.realperson.js"></script>
<script src="admin/plugins/sweetalert2/sweetalert2.all.min.js"></script>
<script src="admin/js/adminlte.min.js"></script>
<script src="plugin/crypto-js.js"></script>
<script src="plugin/jsencrypt.min.js"></script>
<script src="utility.js"></script>
<script src="script/page/mainpage.js"></script>
</body>
</html>
